import datetime
import hashlib

from google.appengine.ext import db
from google.appengine.api import users

# appcfg.py upload_data --config_file=bulkloader.yaml --filename=data.csv --kind=Quote --url=http://tester-strategii-opcyjnych.appspot.com/remote_api

class Quote(db.Model):
    name = db.StringProperty(required=True)
    type = db.StringProperty(required=True)
    date = db.DateProperty(required=True)
    open = db.FloatProperty()
    high = db.FloatProperty()
    low = db.FloatProperty()
    close = db.FloatProperty()
    volume = db.IntegerProperty(required=True, default=0)
    lop = db.IntegerProperty(required=True, default=0)
    is_last = db.BooleanProperty(required=True, default=False)
